import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 导入vant及其样式文件(全部导入)
import Vant from 'vant'
import 'vant/lib/index.css'
// 导入公共样式
import '@/styles/index.less'
import 'amfe-flexible'
import '@/utils/day.js'
// Vue全局注册
Vue.use(Vant)
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App),
  beforeCreate () {
    Vue.prototype.$bus = this // 安装全局事件总线
  }
}).$mount('#app')
